<template>
  <div>
    <h2>最新要闻详情</h2>
    <div>{{route.query.lastId}}</div>
  </div>
</template>

<script lang='ts'>
import {ref,reactive} from 'vue'
import {useRoute} from 'vue-router'
export default{
 setup(){
  const route=useRoute()
  return{route}
 }
}
</script>

<style lang='scss' scoped>
</style>